package com.cskaoyan.bean.vo.back.configmanagement;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;


/**
 * 运费配置
 *
 * @author 李然
 * @date 2022/10/12
 */
@NoArgsConstructor
@Data
public class FreightConfigVo {

    /**
     "market_express_freight_min": "5000",
     "market_express_freight_value": "50"
     */
    @NotNull
    @DecimalMin(value = "0", message = "最低消费必须为数字且不能小于0")
    @DecimalMax(value = "5000", message = "最低消费必须为数字且不能大于5000")
    private String market_express_freight_min;
    @NotNull
    @DecimalMin(value = "0", message = "运费必须为数字且不能小于0")
    @DecimalMax(value = "50", message = "运费必须为数字且不能大于50")
    private String market_express_freight_value;
}
